package com.mrjy.video.dao;

import java.util.Date;

import com.mrjy.common.entity.VideoTipPayment;

public interface IVideoTipPaymentDao {
	
		Date getTime();
	    //查询未支付订单
		VideoTipPayment queryUnpaidByUserId(VideoTipPayment courseVideoTipPayment);
		
		VideoTipPayment queryById(Integer id);
		//根据订单编号查询
		VideoTipPayment selectByCode(String code);
		//查找已完成订单
		VideoTipPayment selectCompleteByCode(String code);
		//查找未完成订单
		VideoTipPayment selectWaitingByCode(String code);
		
		//插入充值订单
		int insert(VideoTipPayment courseVideoTipPayment);
		
		//更新充值订单信息
		int updatePayment(VideoTipPayment courseVideoTipPayment);
		
}
